<?php
use yii\helpers\Html;
use yii\helpers\Url;
?>
<div class="thumbnail">
      <img class='img-circle' src="images/timg3.jpg" alt="..."  style="width:80px;height:80px;float:left;">
      <div class="caption">
        <h3><?= Html::encode($model->name) ?></h3>
        <p>被推荐于<?= Html::encode($model->reg_date) ?></p>
        <p>
          <?=Html::a('<i class="fa fa-user-secret"></i>', Url::to(['site/user','id'=>$model->id],''))?>
          <?=Html::a('<i class="fa fa-envelope-o"></i>', Url::to(['site/messages'],''))?>
        </p>
      </div>
</div>
